import {stringPolyFill} from "../polyfill/StringPolyFill";
import {arrayPolyFill} from "../polyfill/ArrayPolyFill";
import {DOMPolyFill} from "../polyfill/DOMPolyFill";
import {Midway} from "./midway";
import ModelLoader from "./loader/ModelLoader";

(function (self) {

    arrayPolyFill();
    stringPolyFill();
    DOMPolyFill();

    if(!self.Midway) self.Midway = Midway;
})(typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : this);